package com.repast.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.repast.pojo.Address;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer addressId);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer addressId);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

	List<Address> selectAddressList(String openid);

	List<Address> selectDeliveryInfoByOpenid(@Param("openid")String openid, @Param("defaultAddress")Integer defaultAddress);

}